package com.lizonghui.googleplay.protocol;

import com.lizonghui.googleplay.base.BaseProtocol;
import com.lizonghui.googleplay.bean.ItemInfoBean;

import java.util.List;

/**
 * Created by Administrator on 2016/6/22.
 */
public class AppProtocol extends BaseProtocol<List<ItemInfoBean>> {

/*
    @Override
    public List<ItemInfoBean> parseJsonString(String resultJsonString) {
        Gson gson = new Gson();
        //jsonString -->bean-->bean解析
        //jsonString-->List/Map-->泛型解析，即解析出来的是一个集合
        return gson.fromJson(resultJsonString, new TypeToken<List<ItemInfoBean>>() {
        }.getType());

    }
*/

    @Override
    public String getInterfaceKey() {
        return "app";
    }
}
